/**
 * 
 */
package com.sidecar.service.log.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * @author Jason
 * @date Dec 24, 2017
 * @type
 * @tags
 * @version 1.0.0
 */
@Setter
@Getter
@Accessors(
        chain = true)
@Document(
    collection = "status_change_log")
public class StatusChangeLog implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    @Id
    private Long id;

    private Integer targetType;

    private String targetUuid;

    private Integer previousStatus;

    private Integer currentStatus;

    private String triggerUuid;

    private Date triggerTime;
}
